//
//  CarView.h
//  car
//
//  Created by chenxu on 15/3/18.
//  Copyright (c) 2015年 chenxu. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Car.h"


typedef void(^infochange)(Car *car);//编辑某个car
typedef void(^endinput)(Car *car);  //结束编辑


@interface CarView : UIView <UITableViewDataSource,UITableViewDelegate>{
    NSArray *titles,*placeholders;
    NSArray *titles1,*placeholders1;
    NSArray *titles2,*placeholders2;
    UITableView *view1,*view2;
}


- (id)initWithFrame:(CGRect)frame car:(Car *)car;
- (void)addcar:(void (^)())block;
- (void)modifycar:(void (^)())block;
- (void)deletecar:(void (^)())block;



@property (nonatomic, strong) UITableView *myTableView;

@end
